Font-lock '...' strings, plus various simplifications and fixes.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Aug 2010 15:49:30 +0000 (17:49 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 17 Aug 2010 15:49:30 +0000 (17:49 +0200)
commit05042678ba46d2bffea0c6e981200d90a47390e9
treefee9dd981622429f92b9ab638d3694b3dd425d85
parent9391facd67f4b1b21c2e9b375afbdc2d7c580421
Font-lock '...' strings, plus various simplifications and fixes.
* lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
(octave-font-lock-close-quotes): New function.
(octave-font-lock-syntactic-keywords): New var.
(octave-mode): Use it.  Set beginning-of-defun-function.
(octave-mode-map): Don't override the <foo>-defun commands.
(octave-mode-menu): Pass it directly to easy-menu-define;
remove (now generic) <foo>-defun commands; use info-lookup-symbol.
(octave-block-match-alist): Fix up last change so that
octave-close-block uses the more specific keyword.
(info-lookup-mode): Silence byte-compiler.
(octave-beginning-of-defun): Not interactive any more.
Optimize slightly.
(octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
(octave-indent-defun, octave-send-defun): Use mark-defun instead.
(octave-completion-at-point-function): Make sure point is within
beg..end.
(octave-reindent-then-newline-and-indent):
Use reindent-then-newline-and-indent.
(octave-add-octave-menu): Remove.
lisp/ChangeLog
lisp/progmodes/octave-mod.el